package com.stone.design.patterns.observer;

/**
 * @author Stone
 * @version V1.0
 * @description:  主题：注册观察者、移除观察者、通知注册过的观察者
 * @date 18/4/3 21:24
 * @email redsstone@163.com
 */
public interface Subject {

    void registerObserver(Observer observer);
    void removeObserver(Observer observer);
    void notifyObservers();
}
